package com.duanjw.java;

/**
 * 处理静态资源
 */
public class StaticRequestHandler implements RequestHandler {

    @Override
    public Object handle(String s) {
        if(s.contains(".html")) {
            System.out.println("处理这个html");
            return "我是响应的html";
        }
        return null;
    }
}
